Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /


Chapter 9 - Camera Objects

This chapter describes camera objects (or cameras) and the functions you can use to manipulate them. You use cameras to specify the location of the viewer, the direction of viewing, the portion of the view plane to be rendered, and other information about a scene. A single camera is associated with a view, along with a list of lights and other settings that affect the rendering of a model.

To use this chapter, you should already be familiar with the QuickDraw 3D class hierarchy, described in the chapter "QuickDraw 3D Objects" earlier in this book. For information about associating a camera with a view, see the chapter "View Objects."

This chapter begins by describing camera objects and their features. Then it shows how to create and manipulate cameras. The section "Camera Objects Reference," beginning on page 9-17 provides a complete description of camera objects and the routines you can use to create and manipulate them.


Chapter Contents
About Camera Objects
Camera Placements
Camera Ranges
View Planes and View Ports
Orthographic Cameras
View Plane Cameras
Aspect Ratio Cameras
Using Camera Objects
Camera Objects Reference
Data Structures
Camera Placement Structure
Camera Range Structure
Camera View Port Structure
Camera Data Structure
Orthographic Camera Data Structure
View Plane Camera Data Structure
Aspect Ratio Camera Data Structure
Camera Objects Routines
Managing Cameras
Managing Orthographic Cameras
Managing View Plane Cameras
Managing Aspect Ratio Cameras
Summary of Camera Objects
C Summary
Constants
Camera Types
Data Types
Camera Placement Structure
Camera Range Structure
Camera View Port
Camera Data Structure
Orthographic Camera Data Structure
View Plane Camera Data Structure
Aspect Ratio Camera Data Structure
Camera Objects Routines
Managing Cameras
Managing Orthographic Cameras
Managing View Plane Cameras
Managing Aspect Ratio Cameras
Errors

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996